package demo1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: mirac
 * Date: 2025-09-21
 * Time: 18:09
 */
public class Animal {
    public String name;
    public int age;

    public Animal() {

    }

    protected Animal(String name,int age) {
        this.name = name;
        this.age = age;
    }
}
